<?php
/**
 * Created by JetBrains PhpStorm.
 * User: FUHU
 * Date: 9/28/13
 * Time: 10:23 AM
 * To change this template use File | Settings | File Templates.
 */

return function($class){
  static $classmap = null;
    if($classmap === null){
        $classmap = include __DIR__.'/autoload_classmap.php';
    }
    if(!isset($classmap[$class])){
        return false;
    }
    return include_once $classmap[$class];
};